package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author ZhangYue26
 * @CreationTime 2020/3/31 16:56
 * @Version 1.0.0
 * @Description TODO 发现一个聚合平台API https://www.juhe.cn/docs
 */
@EnableAspectJAutoProxy(proxyTargetClass=true)//使得AOP生效
@EnableScheduling
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class},scanBasePackages = {"com.controller","com.config",
        "com.websocket1", "com.verification_code", "com.aop_for_springboot","com.redis_with_springboot"})
@MapperScan(basePackages = {"com.security_for_spring_boot.mapper"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
